import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-agreement',
  templateUrl: './agreement.component.html',
  styleUrls: ['./agreement.component.css'],
})
export class AgreementComponent implements OnInit {
  constructor() {}

  ngOnInit(): void {}
  formData = {
    // 基本情况
    PartyA: '南方周末', //甲方（用人单位）名称
    PartyA_address: '广州', //地址
    management_phone: '88888888', //监督管理电话
    PartyB: '小真', //乙方（实习生）姓名
    id_card: '440754200001016422', //身份证
    address: '小真家666', //通讯地址
    phone: '136xxxx2342', //联系电话
    teacher_name: '小蓝她老师', //指导老师
    teacher_phone: '137xxxx3333', //指导老师电话
    start_date: '2023-07-01',//实习开始时间
    end_date: '2023-10-01',//实习结束时间
  };
  printForm() {
    console.log('打印实习协议书',document.getElementsByClassName('navigation'));
    document.getElementsByClassName('navigation')[0].setAttribute('style','display:none');
    window.print();
  }
}
